package com.leancloud.product.controller;

import com.learncloud.user.feign.RemoteUserService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
  * @description TODO
  * @author lbx
  * @date 2021/10/26 9:43
  * @version 1.0.0
 **/
@RestController
@RequestMapping(value = "/product")
public class ProductController {

    @Resource
    private RemoteUserService remoteUserService;


    @GetMapping(value = "getUser")
    public String get() {
        return remoteUserService.get();
    }
}
